#ifndef MANAGER_H
#define MANAGER_H

#include <QObject>
#include <QQmlEngine>

class Manager : public QObject
{
    Q_OBJECT
    QML_ELEMENT
public:
    explicit Manager(QObject *parent = nullptr);

signals:
    void initDisplay(int type, QString id, QString text, QString cmd);
public slots:
    void saveJson(QString file, QString key, QString value);
    void loadJson();
};

#endif // MANAGER_H
